package org.eenie.core.ext

import android.view.View

fun View?.onClick(onClick: View.() -> Unit) {
    this?.setOnClickListener(onClick)
}